/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package samoloty.controler;

import samoloty.view.MainWindow;
import samoloty.view.MyButton;
import samoloty.view.ThirdPanel;

/**
 *
 * @author borysfan
 */
public class ThirdPanelControler {

    private ThirdPanel panel;
    private Controler controler;


    public ThirdPanelControler(Controler c){
        controler = c;
        initPanel();
    }

    public ThirdPanel getPanel(){
        return panel;
    }

    private void initPanel() {
        panel = new ThirdPanel();


    }

    public void setUpWindow(){
        MainWindow window = controler.getView();
        window.setAllBtnStyle(MyButton.ACTIVE_BUTTON);
        window.setLeftPanelVisible(false);
        window.setDisplayVisible(false);
        window.setPrintVisible(false);
        window.setSaveVisible(false);
    }

}
